{# this is the block displaying actions for current user #}
{% if requestActionsArr %}
  <ul class='list-group'>
    {% for action in requestActionsArr %}
      <li class='list-group-item'>
        <div class='d-flex'>
          <i class='fas fa-person-circle-exclamation color-blue mr-2'></i>
          <div>
            {{ '%s is requesting %s for'|trans|format(action.requester_firstname, action.action) }}
            {% set url = '/%s?mode=%s&id=%d' %}
            <a href='{{ url|format(action.entity_page, 'view', action.entity_id) }}'>{{ action.entity_title }}</a>
            <span title='{{ action.created_at }}' class='relative-moment text-nowrap smallgray ml-1'></span>
          </div>
        </div>
      </li>
    {% endfor %}
  </ul>
{% endif %}
